/**
 * @Author MrsGuo
 * version 1.0
 * @Date 2023-08-03 14:51
 */
package com.cl.erp_2301.Service;

import com.cl.erp_2301.dto.EmpDTO;
import com.cl.erp_2301.entity.Department;
import com.cl.erp_2301.entity.Emp;

import java.util.List;

public interface EmpService {
   List<EmpDTO> findAll();
   Emp getEmpById(Integer id);
   List<EmpDTO> listByPage();
   List<Department> department();
   void add(EmpDTO empDTO);
   void delete();
   void updateById(EmpDTO empDTO);

}
